package com.xg.te.core;

import java.util.HashMap;
import java.util.Map;

/**
 * @desc 全局参数缓存
 * @author liuguojun
 * @date 2014-07-16
 */
public class ParamStore {

	private static Map<String, Object> store = new HashMap<String, Object>();

	public static void put(String name, Object value) {
		store.put(name, value);
	}

	public static Object get(String name) {
		return store.get(name);
	}

	public static Map<String, Object> toMap() {
		return store;
	}
}
